//
//  MasterTableViewCell.m
//  RestKit
//
//  Created by 刘硕 on 15/3/26.
//  Copyright (c) 2015年 刘硕. All rights reserved.
//

#import "MasterTableViewCell.h"

@implementation MasterTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setBounds:(CGRect)bounds {
    [super setBounds:bounds];

    self.contentView.frame = self.bounds;
}

- (void)layoutSubviews {
    [super layoutSubviews];

    [self.contentView updateConstraintsIfNeeded];
    [self.contentView layoutIfNeeded];

    self.content.preferredMaxLayoutWidth = CGRectGetWidth(self.content.frame);
}

@end
